<?php include 'common.php';
$a = $_GET['a']?$_GET['a']:1;
?>
<!DOCTYPE HTML>
<html>
<head>
	<meta http-equiv="content-type" content="text/html; charset=utf-8">
	<title>Top</title>
	<link rel="stylesheet" href="../css/admin.css" type="text/css" media="screen" charset="utf-8">
</head>
<body id="menu_body">
	<div id="index_menu">
		<ul>
            <li class="title"><a href="menu.php?a=1">用户管理</a></li>
            <?php if($a == 1):?>
			<li class="list"><a href="./user/index.php" target="main">用户列表</a></li>
            <li class="list"><a href="./user/add.php" target="main">添加用户</a></li>
            <?php endif;?>
		</ul>

		<ul>
            <li class="title"><a href="menu.php?a=2">商品管理</a></li>
            <?php if($a == 2):?>
			<li class="list"><a href="./goods/index.php" target="main">商品列表</a></li>
            <li class="list"><a href="./goods/add.php" target="main">添加商品</a></li>
            <?php endif;?>
		</ul>

		<ul>
            <li class="title"><a href="menu.php?a=3">分类管理</a></li>
            <?php if($a == 3):?>
			<li class="list"><a href="./category/index.php" target="main">分类列表</a></li>
            <li class="list"><a href="./category/add.php" target="main">添加分类</a></li>
            <?php endif;?>
		</ul>
		<ul>
			<li class="title"><a href="menu.php?a=4">订单管理</a></li>
            <?php if($a == 4):?>
			<li class="list"><a href="./order/index.php" target="main">订单列表</a></li>
            <?php endif;?>
		</ul>
		<ul>
			<li class="title"><a href="menu.php?a=5">评论管理</a></li>
            <?php if($a == 5):?>
			<li class="list"><a href="./comment/index.php" target="main">评论列表</a></li>
            <?php endif;?>
		</ul>
		<ul>
			<li class="title"><a href="menu.php?a=6">推广管理</a></li>
            <?php if($a == 6):?>
			<li class="list"><a href="./promote/homepage.php" target="main">首页展示板块</a></li>
			<li class="list"><a href="./promote/index.php" target="main">Banner列表</a></li>
			<li class="list"><a href="./promote/brand.php" target="main">品牌广告</a></li>
            <?php endif;?>
		</ul>
	</div>
</body>
</html>

